SureCart\Models\User A

Total Complexity 66
Dependencies 8
Dependents 31
Total lines 584
Lines of code 272
Logical lines of code 123
Comment lines 244
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
syncCustomerIds()
A
43 7 59
create()
A
45 8 42
findByCustomerId()
S
55 4 21
setCustomerId()
S
60 4 13
customerId()
S
61 4 13
hasCustomerId()
S
67 3 8
login()
S
65 2 9
customer()
S
69 2 7
customerIds()
S
70 2 6
removeCustomerId()
S
66 2 8
getAttribute()
S
69 2 7
createUniqueUsername()
S
67 2 8
getUserBy()
S
74 2 4
offsetGet()
S
80 1 3
offsetSet()
S
80 1 3
getCustomerMetaKey()
S
82 1 3
offsetUnset()
S
81 1 3
__set()
S
80 1 3
getUser()
S
82 1 3
__isset()
S
80 1 3
__unset()
S
81 1 3
__call()
S
78 1 3
offsetExists()
S
79 1 3
find()
S
75 1 4
__get()
S
80 1 3
jsonSerialize()
S
81 1 3
hasAttribute()
S
80 1 3
setAttribute()
S
81 1 3
getWPUser()
S
82 1 3
current()
S
76 1 4
orders()
S
79 1 3
subscriptions()
S
79 1 3
__construct()
S
89 1 2
isCustomer()
S
79 1 3
__callStatic()
S
78 1 3